<%--
  Created by IntelliJ IDEA.
  User: W
  Date: 2025/10/16
  Time: 19:45
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>

<input type="button" value="查询" id="searchBtn">

</body>
</html>

<script type="text/javascript" src="js/jquery-3.6.0.js"></script>
<script type="text/javascript">
    $(function () {
        $("#searchBtn").click(function () {
            $.ajax({
                url: 'search',
                type:'get',
                data:{},
                success:function (resp) {
                    console.log(resp);
                }
            })
        });
    })
</script>